package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-OSPFV2进程配置-路由重分发对象 element_ospfv2_route
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementOspfv2Route extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** ospfv2Id */
    private String ospfv2Id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 源路由协议 */
    @Excel(name = "源路由协议")
    private String routeProtocol;

    /** 源协议实例号 */
    @Excel(name = "源协议实例号")
    private String protocolDemo;

    /** 源协议实例名称 */
    @Excel(name = "源协议实例名称")
    private String protocolName;

    /** 路由策略使能 */
    @Excel(name = "路由策略使能")
    private String strategyEnable;

    /** 路由映射名称 */
    @Excel(name = "路由映射名称")
    private String mappingName;

    /** 度量使能 */
    @Excel(name = "度量使能")
    private String measureEnable;

    /** 度量类型 */
    @Excel(name = "度量类型")
    private String measureType;

    /** 度量值 */
    @Excel(name = "度量值")
    private String measureValue;

    /** 标记使能 */
    @Excel(name = "标记使能")
    private String markEnable;

    /** 标记值 */
    @Excel(name = "标记值")
    private String markValue;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setRouteProtocol(String routeProtocol) 
    {
        this.routeProtocol = routeProtocol;
    }

    public String getRouteProtocol() 
    {
        return routeProtocol;
    }
    public void setProtocolDemo(String protocolDemo) 
    {
        this.protocolDemo = protocolDemo;
    }

    public String getProtocolDemo() 
    {
        return protocolDemo;
    }
    public void setProtocolName(String protocolName) 
    {
        this.protocolName = protocolName;
    }

    public String getProtocolName() 
    {
        return protocolName;
    }
    public void setStrategyEnable(String strategyEnable) 
    {
        this.strategyEnable = strategyEnable;
    }

    public String getStrategyEnable() 
    {
        return strategyEnable;
    }
    public void setMappingName(String mappingName) 
    {
        this.mappingName = mappingName;
    }

    public String getMappingName() 
    {
        return mappingName;
    }
    public void setMeasureEnable(String measureEnable) 
    {
        this.measureEnable = measureEnable;
    }

    public String getMeasureEnable() 
    {
        return measureEnable;
    }
    public void setMeasureType(String measureType) 
    {
        this.measureType = measureType;
    }

    public String getMeasureType() 
    {
        return measureType;
    }
    public void setMeasureValue(String measureValue) 
    {
        this.measureValue = measureValue;
    }

    public String getMeasureValue() 
    {
        return measureValue;
    }
    public void setMarkEnable(String markEnable) 
    {
        this.markEnable = markEnable;
    }

    public String getMarkEnable() 
    {
        return markEnable;
    }
    public void setMarkValue(String markValue) 
    {
        this.markValue = markValue;
    }

    public String getMarkValue() 
    {
        return markValue;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getOspfv2Id() {
        return ospfv2Id;
    }

    public void setOspfv2Id(String ospfv2Id) {
        this.ospfv2Id = ospfv2Id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ospfv2Id", getOspfv2Id())
            .append("elementId", getElementId())
            .append("routeProtocol", getRouteProtocol())
            .append("protocolDemo", getProtocolDemo())
            .append("protocolName", getProtocolName())
            .append("strategyEnable", getStrategyEnable())
            .append("mappingName", getMappingName())
            .append("measureEnable", getMeasureEnable())
            .append("measureType", getMeasureType())
            .append("measureValue", getMeasureValue())
            .append("markEnable", getMarkEnable())
            .append("markValue", getMarkValue())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
